<template>
    <div class="addSinManBox1">
        <el-card>
            <el-button type="info" size="mini" icon="el-icon-arrow-left" @click="myReturn">
                返回</el-button>
            <el-form label-position="top" label-width="80px" :model="formLabelAlign">
                <el-row :gutter="20">
                    <el-col :span="12">
                        <el-form-item>
                            <span slot="label">
                                <span class="label-text">类型</span>

                            </span>
                            <el-select v-model="value" placeholder="请选择" class="type-name">
                                <el-option v-for="item in options" :key="item.value" :label="item.label"
                                    :value="item.value">
                                </el-option>
                            </el-select>
                        </el-form-item>
                        <el-form-item>
                            <span slot="label">
                                <span class="label-text">密码</span>

                            </span>
                            <el-input v-model="formLabelAlign.region"></el-input>
                        </el-form-item>
                    </el-col>
                    <el-col :span="12">
                        <el-form-item>
                            <span slot="label">
                                <span class="label-text">标题</span>


                            </span>
                            <el-input v-model="formLabelAlign.type">
                            </el-input>

                        </el-form-item>
                        <el-form-item>
                            <span slot="label">
                                <span class="label-text">说明</span>

                            </span>
                            <el-input v-model="formLabelAlign.region"></el-input>
                        </el-form-item>
                    </el-col>

                </el-row>
                <signature></signature>
                <el-form-item class="sub-btn">
                    <el-button type="primary" @click=" myReturn">提交</el-button>
                    <el-button @click=" myReturn">取消</el-button>
                </el-form-item>

            </el-form>
        </el-card>




    </div>
</template>

<script>
import signature from "@/views/WorkFlow/SigManage/components/addsigman/signature.vue";
export default {
    name: "addSinManBox",
    data() {
        return {
            options: [{
                value: '选项1',
                label: '公章'
            }, {
                value: '选项2',
                label: '私章'
            },],
            value: '',
            formLabelAlign: {
                name: '',
                region: '',
                type: ''
            },
        }
    },
    components:{
        signature,
    },
    methods:{
        
        myReturn(){
            this.$router.push("/SigManage")
        }

    }

}
</script>

<style scoped>
.label-text {
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.sub-btn {
    margin-top: 20px;
    text-align: left;
}
.type-name{
    width: 100%;

}
</style>